// @ts-nocheck
const path = require('path')
const dir = 'src/assets/'
const WebpackIconfontPluginNodejs = require('webpack-iconfont-plugin-nodejs')
new WebpackIconfontPluginNodejs({
	fontName: 'iconfont',
	cssPrefix: 'iconfont',
	svgs: path.join(dir, 'svg/*.svg'),
	fontsOutput: path.join(dir, 'iconfont'),
	cssOutput: path.join(dir, 'iconfont/index.css'),
	htmlOutput: false,
	formats: ['ttf', 'woff', 'svg'],
	notWatchFile: true
}).build()
